package com.shop.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.admin.entity.ChatRoomInferior;
import com.shop.admin.socketvo.MessageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface ChatRoomInferiorDao extends BaseMapper<ChatRoomInferior> {
    Page<MessageVo> pageMessage(@Param("page")Page<MessageVo> page, @Param("params") Map<String, Object> params);
}
